package zuoye0515;

/**
 * USB硬盘
 * 
 * @author Y
 *
 */
public class USBSolidDisk implements USB {
	private String name;
	private int capacity;

	public USBSolidDisk(String name, int capacity) {
		this.name = name;
		this.capacity = capacity;
	}

	public void start() {
		System.out.println(name + "的硬盘,容量为" + capacity + "T被插在电脑的usb上");
	}

	public void work() {
		System.out.println("正在储存,传输数据...");
	}

	public void stop() {
		System.out.println("拔出硬盘,硬盘停止运行...");

	}
}
